<page-header [autoTitle]="false"></page-header>
<nz-card>
  <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
  <nz-tabset [nzSelectedIndex]="index">
    <nz-tab nzTitle="品牌积分规则模板">
      <app-template-list *ngIf="!isLoading" [type]="1"></app-template-list>
    </nz-tab>
    <nz-tab nzTitle="店铺积分规则模板">
      <app-template-list *ngIf="!isLoading"  [type]="2"></app-template-list>
    </nz-tab>
  </nz-tabset>
</nz-card>
